//
//  Model.h
//  YLTool
//
//  Created by EmberWei on 2018/7/30.
//  Copyright © 2018年 EmberWei. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RespObject.h"

// 请求基类
@interface Response : RespObject
// 返回信息
@property (nonatomic, copy) NSString  *message;
// 错误码 200 代表成功
@property (nonatomic, assign) NSInteger code;

@end

// 登陆令牌Token
@interface Token : AtomObject

@property (nonatomic, assign) NSInteger userid;// 用户ID

@property (nonatomic, copy) NSString  *access_token;// 登陆令牌

@property (nonatomic, copy) NSString *userName;// 用户昵称

@end

// 登录请求
@interface ResponseLogin : Response

@property (nonatomic, copy) Token *data;

@end
